package cc.yaomm.common.biz.enums;

import cc.yaomm.common.basic.base.SuperEnum;
import lombok.Getter;

/**
 * 登录方式
 */
@Getter
public enum LoginTypeEnum implements SuperEnum<LoginTypeEnum, String> {

    ACCOUNT("ACCOUNT", "账号登录"),

    PHONE("PHONE", "手机号登录"),

    WECHAT("WECHAT", "微信登录");

    private String value;

    private String name;

    LoginTypeEnum(String value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public LoginTypeEnum[] enums() {
        return values();
    }
}
